/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package main;

import stemmer.Stemmer;

/**
 *
 * @author Marchisio
 */
public class TestStemmer {
    public static void main(String[] args) {
        String word;
        Stemmer stemmer = new Stemmer();
        
        word = "MALADE";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        
        word = "MALADIE";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        
        word = "MALADIVE";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        System.out.println("/* -------- */");
        
        word = "accueil";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        
        word = "accueillent";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        
        word = "accueillir";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        System.out.println("/* -------- */");
        
        word = "acheter";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        
        word = "achète";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        
        word = "achèteriez";
        System.out.println("Word stemming: "+word+ " ----> "+ stemmer.stemWord(word)+".");
        System.out.println("/* -------- */");
        
    }
}
